<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>csrf-01 login</title>
</head>
<body>
<div style="border: aquamarine solid 1px">
    <div>登录</div>
    <form method="post" th:action="@{/login}">
        <table>
            <tr>
                <td>用户名：</td>
                <td><input name="username" type="text"/></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input name="password" type="password"/></td>
            </tr>
        </table>
        <input type="submit" value="提交"/>
    </form>
</div>
</body>
</html>